(function(config) { (function() {
    function a(a) {
        return - 1 !== b.indexOf(a)
    }
    window.cb = window.cb || {};
    var b = navigator.userAgent.toLowerCase().replace("", "+"),
        c = window,
        d = document,
        f = a("ucbrowser"),
        g = "ActiveXObject" in c,
        h = g && !c.XMLHttpRequest,
        k = g && !d.querySelector,
        l = g && !d.addEventListener,
        m = g && a("ie 9"),
        n = c.navigator && c.navigator.msPointerEnabled && !!c.navigator.msMaxTouchPoints,
        p = n || a("touch") || "ontouchstart" in d,
        q = a("webkit"),
        r = a("chrome"),
        s = a("firefox"),
        t = a("android"),
        w = -1 !== b.search(/android( |\/)4\./),
        v = -1 !== b.search(/android [23]/),
        x = a("windows phone"),
        y = "devicePixelRatio" in c && 1 < c.devicePixelRatio || "matchMedia" in c && c.matchMedia("(min-resolution:144dpi)") && c.matchMedia("(min-resolution:144dpi)").matches,
        u = a("ipad;"),
        z = u && y,
        G = a("ipod touch;"),
        H = a("iphone;"),
        u = H || u || G,
        B = (a(" os 7") || a(" os 8")) && u,
        u = t || u || x || a("mobile") || "undefined" !== typeof orientation,
        F = d.documentElement,
        P = g && "transition" in F.style,
        I = !!d.createElementNS && !!d.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect,
        d = !!d.createElement("canvas").getContext,
        ba = "WebKitCSSMatrix" in c && "m11" in new window.WebKitCSSMatrix,
        oa = "MozPerspective" in F.style,
        F = "OTransition" in F.style,
        ya = P || ba || oa || F,
        za = !u && a("windows nt") && -1 === b.search(/nt [67]\.[1-9]/),
        w = !d || t && !(w && ( - 1 !== b.search(/lbbrowser|360|liebao|sogou|micromessenger|chrome/) || ( - 1 !== b.search(/ucbrowser\/((9\.[0-5]\.)|(10\.0\.))/) ? !a("huawei p6") : a("baidubrowser") ? -1 === b.search(/hm201|hm note|sm-g900/) : -1 !== b.search(/oupeng|mqqbrowser|firefox/) ? 0 : !a("ucbrowser") && -1 !== b.search(/sm-n900|(gt-(n710|i95|p[67]))|(mi( [1-4]|-one))|(huawei(P6|_c8813|h30| g750))|lenovo k900|coolpad_9150/)))) || H && (!B || 375 < screen.width) || G || z || x || g || u && s,
        y = u && y,
        x = !1;
    try {
        x = "undefined" !== typeof c.localStorage
    } catch(Ia) {}
    window.cb.f = {
        mx: a("baidubrowser"),
        qe: g,
        sc: h,
        ui: k,
        gc: l,
        WB: q,
        Gm: x,
        aq: t,
        QC: v,
        NB: f,
        chrome: r,
        Qq: s,
        PD: P,
        XB: ba,
        pD: oa,
        nE: F,
        hx: ya,
        Y: u,
        jE: u && q,
        Oz: u && ba,
        iE: u && c.opera,
        La: p,
        Cr: n,
        QD: m,
        ob: y,
        Ne: I,
        wm: d,
        Qr: w,
        Pl: !w && !g && !za,
        Om: !I && u && d
    }
})();
    var e = window,
        A = "http map anip layers overlay0 brender mrender".split(" ");
    e.cb.Nc = "main";
    e.cb.f.La && (A.push("touch"), e.cb.Nc += "t");
    e.cb.f.Y || (A.push("mouse"), e.cb.Nc += "m");
    e.cb.f.Qr && !e.cb.f.Om ? (e.cb.Nc += "d", A.push("drender")) : (A.push("crender"), e.cb.Nc += "c", e.cb.f.Pl && (e.cb.Nc += "v", A.push("vectorlayer", "overlay"), A.push("vp"), e.cb.Nc += "p"));
    A.push("sync");
    e.cb.Rs = A;
    var C = window.v2 = window.v2 || {
                Dh: "1.3.5.4"
            },
        aa = config[2].split(",")[0],
        ca = aa + "/theme/v" + config[4] + "/style.css",
        da = document.head || document.getElementsByTagName("head")[0];
    if (da) {
        var D = document.createElement("link");
        D.setAttribute("rel", "stylesheet");
        D.setAttribute("type", "text/css");
        D.setAttribute("href", ca);
        da.insertBefore(D, da.firstChild)
    } else document.write("<link rel='stylesheet' href='" + ca + "'/>");
    var ea = (new Date).getTime();
    C.__load__ = function(a) {
        a(config, ea);
        delete C.__load__;
        window.v2 = null
    };
    try {
        if (window.localStorage) {
            var E = window.localStorage["_AMap_" + window.cb.Nc],
                fa = !1;
            E ? (E = JSON.parse(E), E.version === C.Dh ? (eval(E.script), C.loaded = !0) : fa = !0) : fa = !0;
            if (fa) for (var ga in window.localStorage) window.localStorage.hasOwnProperty(ga) && 0 === ga.indexOf("_AMap_") && window.localStorage.removeItem(ga)
        }
    } catch(ha) {}
    if (!C.loaded) {
        var ia = aa + "/maps/main?v=" + config[4] + "&key=" + config[0] + "&m=" + window.cb.Rs.join(","),
            ja = document;
        if (ja.body && config[5]) {
            var ka = ja.createElement("script");
            ka.charset = "utf-8";
            ka.src = ia;
            ja.body.appendChild(ka)
        } else document.write("<script src='" + ia + "' type='text/javascript'>\x3c/script>");
        delete window.cb.Rs
    };
})(["a421ab0ad01cba13562bf7c1843c3452", [120.856805, 30.675594, 122.247149, 31.872717, 121.472644, 31.231706], "http://webapi.amap.com", 1, "1.3"])